package com.imooc.course.server.dao.my;

import com.imooc.course.server.dto.ResourceDto;
import com.imooc.course.server.entity.Resource;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("myResourceDao")
public interface MyResourceDao {

    int batchInsert(List<Resource> list);

    List<Resource> selectByUserId(String userId);

}
